import enummapping from "enummapping";

/**
 * 菜单类型
 */
export const MenuTypeEnum = enummapping({
    DIR: { code: 10, label: "目录" },
    MENU: { code: 20, label: "菜单" },
    BUTTON: { code: 30, label: "按钮" },
});

/**
 * 日志类型
 */
export const LogTypeEnum = enummapping({
    LOGIN: { code: 10, label: "登录日志" },
    NORMAL: { code: 20, label: "正常日志" },
    ERROR: { code: 30, label: "错误日志" },
});
